<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<style type="text/css">
		#dv{
			width: 100px;
			height: 100px;
			background-color: red;
		}
	</style>
	<script src="../../../../../../dist/vue/dist/vue.min.js"></script>
	<body>
		<div id="dv"  v-if="age >30">
			                 <!--进行比较运算，返回true才渲染-->
		</div>
	</body>
	<script>
		new Vue({
			el:'#dv',
			data:{
				age:31
			}
		})
    

	</script>
</html>
